﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="tabNotes.ascx.cs" Inherits="CustomerService.tabNotes" %>
<asp:ListView ID="lstNotes" runat="server" EnableViewState="false">
    <LayoutTemplate>
        <table cellpadding="0" cellspacing="0" class="ItemList">
            <tr>
                <td>Agent</td>
                <td>Date</td>
                <td>Note Text</td>
            </tr>
            <tr id="itemPlaceholder" runat="server"></tr>
        </table>
    </LayoutTemplate>
    <ItemTemplate>
        <tr>
            <td><%# Eval("Agent") %></td>
            <td><%# ((DateTime)Eval("NoteDate")).ToShortDateString() + " " + ((DateTime)Eval("NoteDate")).ToShortTimeString()%></td>
            <td><%# Eval("NoteText") %></td>
        </tr>
    </ItemTemplate>
</asp:ListView>